package com.aysafety.iotdataplatformweb.services.kgt;

import java.util.List;
import java.util.Map;

public interface KGTService {
    long countByKGT(String mineId, String deviceId, String startTime, String endTime, int timeSpan, String timeUnit)
        throws Throwable;

    List<Map<String, Object>> queryRealTimeByKGT(String mineId, String deviceId, String startTime, String endTime,
        int timeSpan, String timeUnit, int page, int size, String startRow) throws Throwable;
}
